from faceSim.faceSimCalUtils import faceSimCalUtils
import numpy as np
face_imgs=["../data/fbb1.jpeg","../data/fbb2.jpeg","../data/fbb3.jpeg",
           "../data/mac1.jpeg","../data/mac2.jpeg","../data/mac3.jpeg",
           "../data/xq1.jpeg","../data/xq2.jpeg","../data/xq3.jpeg"]


face_compare=['']

face_vector_list=faceSimCalUtils.getFaceVectors(face_imgs)
vec=faceSimCalUtils.getFaceVector("../data/yl.png")

result_distance=faceSimCalUtils.calSimDis(face_vector_list,vec)
print(result_distance)
print(np.argmin(result_distance))